#!/usr/bin/env python3
# -*- coding:utf-8 -*-

f = open('test.log', 'w+')
f.write("")

f.write('6\n')
f.write('7\n')
f.write('8\n')
f.close()